Page({

  /**
   * 页面的初始数据
   */
  data: {
    banner:['../../images/banner01.jpg','../../images/banner04.png','../../images/banner05.jpg'],
    indexConfig:[{
        icon:'../../images/daiqu.png',
        text:'快递代取',
        url:'../getExpress/getExpress'
      },
      {
        icon:'../../images/dayin.png',
<<<<<<< HEAD
        text:'打印服务',
        url: '../print/print'
=======
<<<<<<< HEAD
        text:'打印服务',
        url:'../print/print'
>>>>>>> 947f6dc35903a5f613bb6576ca6893a7c29de665
      },
      {
        icon:'../../images/paotui.png',
        text:'校园跑腿',
<<<<<<< HEAD
        url: '../run/run'
=======
        url:'../run/run'
>>>>>>> 947f6dc35903a5f613bb6576ca6893a7c29de665
      },
      {
        icon:'../../images/daiji.png',
        text:'快递代寄',
<<<<<<< HEAD
        url: '../expressReplace/expressReplace'
=======
        url:'../expressReplace/expressReplace'
>>>>>>> 947f6dc35903a5f613bb6576ca6893a7c29de665
      },
      {
        icon:'../../images/zujie.png',
        text:'租借服务',
<<<<<<< HEAD
        url: '../lease/lease'
=======
        url:'../lease/lease'
>>>>>>> 947f6dc35903a5f613bb6576ca6893a7c29de665
      },
      {
        icon:'../../images/peiwan.png',
        text:'游戏陪玩',
<<<<<<< HEAD
        url: '../playGame/playGame'
=======
        url:'../playGame/playGame'
>>>>>>> 947f6dc35903a5f613bb6576ca6893a7c29de665
      },
      {
        icon:'../../images/bangsong.png',
        text:'帮送服务',
<<<<<<< HEAD
        url: '../helpMeGive/helpMeGive'
=======
        url:'../helpMeGive/helpMeGive'
>>>>>>> 947f6dc35903a5f613bb6576ca6893a7c29de665
      },
      {
        icon:'../../images/daiti.png',
        text:'代替服务',
<<<<<<< HEAD
        url: '../replaceMe/replaceMe'
=======
        url:'../replaceMe/replaceMe'
>>>>>>> 947f6dc35903a5f613bb6576ca6893a7c29de665
      },
      {
        icon:'../../images/qita.png',
        text:'其他服务',
<<<<<<< HEAD
        url: '../otherHelp/otherHelp'
=======
        url:'../otherHelp/otherHelp'
=======
        text:'打印服务'
      },
      {
        icon:'../../images/paotui.png',
        text:'校园跑腿'
      },
      {
        icon:'../../images/daiji.png',
        text:'快递代寄'
      },
      {
        icon:'../../images/zujie.png',
        text:'租借服务'
      },
      {
        icon:'../../images/peiwan.png',
        text:'游戏陪玩'
      },
      {
        icon:'../../images/bangsong.png',
        text:'帮送服务'
      },
      {
        icon:'../../images/daiti.png',
        text:'代替服务'
      },
      {
        icon:'../../images/qita.png',
        text:'其他服务'
>>>>>>> 81495c7ddca15b49c5ee69cca0bc9ff1ed024d22
>>>>>>> 947f6dc35903a5f613bb6576ca6893a7c29de665
      }
    ]
  },

  toDetail(e){
    const url=e.currentTarget.dataset.url;
    wx.navigateTo({
      url: url,
    })
  },


  handleClickNotice(){
    wx.showModal({
      title:'公告',
      content:'关注公众号可享受订单推送——接单员务必添加客服v:14784748687'
    })
  },



  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    
  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {
    
  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {
    
  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {
    
  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {
    
  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {
    
  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {
    
  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {
    
  }
})